package com.zwt.passbook.constant;

/**
 * <h2>优惠券背景颜色枚举类定义</h2>
 * Created by zhangchengfa on 2019-03-19 12:23
 */
public enum TemplateColor {
    RED(1,"红色"),
    GREEN(2,"绿色"),
    BLUE(3,"蓝色");

    /** 颜色代码 */
    private Integer code;
    /** 颜色描述 */
    private String color;

    TemplateColor(Integer code, String color) {
        this.code = code;
        this.color = color;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getColor() {
        return this.color;
    }
}
